package com.sove.face.service;


import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.Query;

import com.sove.face.Entity.Faces;

public interface FacesService {
 
    public Faces save(Faces entity);
    
    @Query("SELECT COUNT(0) FROM user_face") 
    public int count();
    
	public Page<Faces> getFaces(int page, int size);
}